package com.dlx.activity.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dlx.model.activity.RechargeActivity;
import com.dlx.vo.activity.RechargeActivityQueryVo;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author nglon
 * @since 2021-11-17
 */
public interface RechargeActivityService extends IService<RechargeActivity> {

    RechargeActivity show(Long id);

    Page<RechargeActivity> selectRechargeActivityPage(Long current, Long limit, RechargeActivityQueryVo rechargeActivityQueryVo);

    Boolean add(RechargeActivity rechargeActivity);

    Boolean updateRechargeActivity(RechargeActivity rechargeActivity);

    RechargeActivity whetherInActivityTime(LocalDateTime currentTime);
}
